import java.util.Scanner;
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        double sum = 0;
        int m = 0;
        while (reader.hasNextDouble()) {
            double x = reader.nextDouble();
            assert x <= 100 && x >= 0 : "数据不合理";
            m = m + 1;
            sum = sum + x;
        }
            System.out.printf("%d个数的和为号f\n", m, sum);
            System.out.printf("%d个数的平均值是号王\n", m, sum / m);
    }
}